var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ObjectId = Schema.ObjectId;

var ReplyOpinionSchema = new Schema({
	authorId: ObjectId,
	replyId: ObjectId,
	opinion: Boolean,	/*true 赞同，false 不赞同*/
	createAt: { type: Date, default: new Date() }
});

mongoose.model('ReplyOpinion', ReplyOpinionSchema);